package com.antSort;


import com.sun.source.tree.WhileLoopTree;
import javafx.application.Application;

import java.util.*;
import java.util.concurrent.TimeUnit;

public class test {
    public static void main(String[] args) throws Exception {
       Application.launch(visual.class,args);
//        ThreadGroup group = new ThreadGroup("myGroup");
//        oneThread thread1 = new oneThread(group,"instance/inst_300_300_10_10_13_1");
//        thread1.start();
//        oneThread thread2 = new oneThread(group,"instance/inst_300_300_15_10_13_1");
//        thread2.start();
//        oneThread thread3 = new oneThread(group,"instance/inst_300_300_20_06_05_1");
//        thread3.start();
//        thread1.join();
//        thread2.join();
//        thread3.join();
//
//        Scanner scanner = new Scanner(System.in);
//        System.out.println("按任意键退出...");
//        scanner.nextLine();
//        System.out.println("线程1-inst_300_300_10_10_13_1：" + thread1.seconds + "s与" + thread1.cost);
//        System.out.println("线程2-instance/inst_300_300_15_10_13_1：" + thread2.seconds + "s与" + thread2.cost);
//        System.out.println("线程3-instance/inst_300_300_20_06_05_1：" + thread3.seconds + "s与" + thread3.cost);
    }
}

